const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  name: { type: String },
  status: { type: String },
  acc_num: { type: String },
  password: { type: String },
  id_card: { type: String },
  tel: { type: String },
  gender: { type: String },
  nation: { type: String },
  town: { type: String },
  vill: { type: String },
  group: { type: String },
  house: { type: String },
  address: { type: String },
  polit: { type: String }
})

module.exports = mongoose.model('Village', schema)